package com.chisheng.caa.pojo.dto;

import com.chisheng.caa.pojo.*;
import io.swagger.annotations.ApiModel;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@ApiModel("排课设定信息传输类")
public class ArrangeCourseSettingDTO extends AbstractArrangeCourseSetting {

    private static final long serialVersionUID = 1L;

    public ArrangeCourseSettingDTO(ArrangeCourseSetting setting) {
        super(setting);
    }

    @Override
    public String toString() {
        return super.toString();
    }

    @Override
    public void setSemester(Semester semester) {
        this.semester = semester;
    }

    @Override
    public void setDuplicateStrategy(DuplicateStrategy strategy) {
        duplicateStrategy = strategy;
    }

    @Override
    public void setGrade(GradeDTO grade) {
        this.grade = new GradeDTO(grade);
    }

}
